package com.example.orderservice.service;

import com.example.nacosdemo.dto.ChangeOrderDTO;
import com.example.nacosdemo.dto.ReduceDTO;
import com.example.nacosdemo.exception.ServiceException;
import com.example.orderservice.entity.Order;

public interface OrderService {
    void createOrder(ReduceDTO dto);

    void changeOrder(ChangeOrderDTO dto) throws ServiceException;

    Order findByOrderNum(String orderNum);
}
